<?php

class Damages_Methods_Data_Invoice {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $number;

  /**
   *
   * @var float 
   */
  public $value;

  /**
   *
   * @var string 
   */
  public $created;

  /**
   *
   * @var string 
   */
  public $modified;

  public function __construct(DamagesInvoices $data) {
    $this->id = $data->getId();
    $this->number = $data->getNumber();
    $this->value = $data->getValue();
    $this->created = $data->getCreated();
    $this->modified = $data->getModified();
  }

}